package it.univaq.mwt.business;

import java.util.List;

import it.univaq.mwt.exceptionmonitor.WishlistUserException;
import it.univaq.mwt.model.entity.News;

public interface NewsService {

	void addNews(News n)  throws WishlistUserException;
	void editNews(News n)  throws WishlistUserException;
	void deleteNews(int id)  throws WishlistUserException;
	News getNews(int id);
	List<News> getList(int i, int j);
	void delete(int id) throws WishlistUserException;
	int getNewsNumber();
	List<News> getNewsListsmall(int limit);

}
